package top.goldenyear.porpoise.infra.job.job;

import lombok.extern.slf4j.Slf4j;
import org.noear.solon.annotation.Component;
import org.noear.solon.core.handle.Context;
import org.noear.solon.scheduling.scheduled.JobHandler;

/**
 * @author airhead
 */
@Component("demoJob")
@Slf4j
public class DemoJob implements JobHandler {
  @Override
  public void handle(Context ctx) throws Throwable {
    log.info("DemoJob executed");
  }
}
